package com.travel.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName("product")
public class Product {
    @TableField("id")
    private int id;
    @TableField("product_name")
    private String name;
    @TableField("product_img")
    private String pathImg;
    @TableField("product_price")
    private BigDecimal price;
    @TableField("instant_killing")
    private BigDecimal newPrice;
    @TableField("count")
    private int count;
}
